#include "IsotropicMaxwellian.hpp"

IsotropicMaxwellian::IsotropicMaxwellian(double vth, double vdx, double vdy, double nvth, unsigned nptsx, unsigned nptsy) {
	MaxwellianFunctor fx(vth,vdx);
	MaxwellianFunctor fy(vth,vdy);
	setBounds(vdx-nvth*vth,vdx+nvth*vth,vdy-nvth*vth,vdy+nvth*vth);
	setResolution(nptsx,nptsy);
	setFunctors(fx,fy);
	build();
}

IsotropicMaxwellian::~IsotropicMaxwellian() {
}

